<!--
  @author nowind
  @since 17/07/23 14:34
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<zmn th:fragment="query">
    <form class="layui-form" method="post" style="margin-right: 20px">
        <div class="layui-row">
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">供应商名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" placeholder="请输入供应商名称" autocomplete="off" class="layui-input" maxlength="45"/>
                    </div>
                </div>
            </div><!--
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">编辑时间</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" name="updateStartEndDate" id="updateStartEndDate" autocomplete="off" placeholder="yyyy-mm-dd - yyyy-mm-dd">
                    </div>
                </div>
            </div>
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">编辑人</label>
                    <div class="layui-input-block">
                        <input type="text" name="updater" placeholder="填写姓名" autocomplete="off" class="layui-input"/>
                    </div>
                </div>
            </div>-->
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">使用公司</label>
                    <div class="layui-input-block">
                        <select name="useCompanyId" lay-search>
                            <option value="">全部公司</option>
                                <option th:each="platformCompanySimple:${platformCompanySimpleList}" th:value="${platformCompanySimple.value}" th:text="${platformCompanySimple.text}">全部公司</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">状态</label>
                    <div class="layui-input-block">
                        <select name="status">
                            <option value="">全部状态</option>
                                <option th:each="status:${statuses}" th:value="${status.key}" th:text="${status.value}">状态</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label"></label>
                    <button class="layui-btn" lay-submit lay-filter="query-submit" id="query-submit"> <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i></button>
                </div>
            </div>
        </div>
    </form>
</zmn>